﻿using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnesSystem.Models.Model.Hospital.SC.WJZYY
{
   public class SelHisAnesMethodModel: ObservableObject
    {
        private bool _isChecked=false;
        private HisAnesMethodModel _hisAnesMethodModel;

        public bool IsChecked
        {
            get
            {
                return _isChecked;
            }

            set
            {
                _isChecked = value;
                RaisePropertyChanged("IsChecked");
            }
        }

        public HisAnesMethodModel HisAnesMethodModel
        {
            get
            {
                if (_hisAnesMethodModel==null)
                {
                    _hisAnesMethodModel = new HisAnesMethodModel();
                }
                return _hisAnesMethodModel;
            }

            set
            {
                _hisAnesMethodModel = value;
            }
        }
    }
}
